﻿function Ship(pImageData, x, y)
{
    this.imageData = pImageData
    this.x = x;
    this.y = y;
}

//Tie up all classes
Ship.prototype = new VisualComponent;
Ship.prototype.constructor = Ship;


function LaserShot(pImageData, x, y)
{
    this.imageData = pImageData
    this.x = x;
    this.y = y;
}

//Tie up all classes
LaserShot.prototype = new VisualComponent;
LaserShot.prototype.constructor = LaserShot;
